package com.bbzn.user.client.service;

import com.bbzn.user.client.dataobject.SystemParam;

import java.util.List;

/**
 * Created by 黄志鹏
 * 2018-03-04 21:44
 */
public interface SystemParamByCacheService {

	/**
	 * 通过type和key查询
	 * @throws Exception
	 */
	SystemParam getValues(String type, String key) throws Exception;

	/**
	 * 通过type查询
	 * @throws Exception
	 */
	List<SystemParam> getValues(String type) throws Exception;


	/**
	 * 通过type和key查询单个值
	 * @throws Exception
	 */
	SystemParam getValue(String type, String key) throws Exception;

}
